package com.ems.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 角色表
 * </p>
 * @author WuZH
 * @since 2023-10-24
 */
@Data
@ApiModel (value = "RoleEntity对象", description = "角色表")
public class RoleVo extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("角色Id")
    private String id;

    @ApiModelProperty ("角色名称")
    private String roleName;

    @ApiModelProperty ("角色描述")
    private String roleDesc;

    @ApiModelProperty ("是否默认角色 1是0否")
    private Integer isDefault;

    @ApiModelProperty ("所属商户,当不是默认角色时,就属于某个指定商户新建")
    private String merchantId;

    private Date createTime;

    private Date changeTime;

    private Integer isUsed;

    private List<MenuVo> menuEntities;

}
